Skip to main content

Get Magic Eden NFT Statistics

Get Statistics from MagicEden for an NFT Collection

Networks Supported:

  • solana-mainnet

Endpoint

GET /api/v0/nfts/<NETWORK>/<COLLECTION_ADDRESS>/get-magiceden-stats/<YOUR_API_KEY>

Test API Key eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IkZJMHljR2kwYWhYRFplQmtleEFFZm1jVzZ1NTMiLCJpYXQiOjE2NzM1OTQ1NjF9.CI2QEG7Ek6juzthOuV4NAstYKPHerzRXRUPpA1B9sb4

Code Sample

index.js
const axios = require("axios");

const apiUrl =
"https://app.conciselabs.io/api/v0/nfts/solana-mainnet/ES2iF5ctjqvtopPn4n6K7c9fdHjYg41rYXL2XzJK37jF/get-magiceden-stats/<YOUR_API_KEY>";

const getMagicEdenStats = async () => {
const { data } = await axios.get(apiUrl);
console.log("Stats: ", data);
};

getMagicEdenStats();

Response

{
"magic_eden_stats": {
"collection_key": "ES2iF5ctjqvtopPn4n6K7c9fdHjYg41rYXL2XzJK37jF",
"magic_eden_symbol": "abc_abracadabra",
"floor_price": "98.79",
"listed_count": "121",
"avg_24_hour_price": "105.67",
"volume": "1787583.36"
}
}